#ifndef __FUNTRACE__
#define __FUNTRACE__

#include <flogger.h>

#define SXX(x) #x
#define SXX_(x) SXX(x)
#define S__LINE__ SXX_(__LINE__)


class TFunTrace
	{

public:
	TFunTrace(const char* aFunName);
	~TFunTrace();
	
	static void setFileLogger(RFileLogger* aFileLogger);
private:
	static TInt sIndent;
	const char* iFunName;
	TTime iStartTime;
	static RFileLogger* iFileLogger;
	
	};

#endif //__FUNTRACE__
